@set I=install:install-file
@set G=-DgroupId
@set A=-DartifactId
@set V=-Dversion
@set P=-Dpackaging
@set F=-Dfile

@set APPENGINE_VERSION=1.3.1
@set DATANUCLEUS_APPENGINE_VERSION=1.0.5.final
@set APPENGINE_JAVA_SDK_HOME=E:\devtools\appengine-java-sdk-1.3.1

@echo APPENGINE_JAVA_SDK_HOME - %APPENGINE_JAVA_SDK_HOME% - must be version %APPENGINE_VERSION%

@echo **** Installing appengine-api-1.0-sdk-%APPENGINE_VERSION%.jar
@call mvn %I% "%G%=com.google.appengine" "%A%=appengine-api-1.0-sdk" "%V%=%APPENGINE_VERSION%" "%P%=jar" "%F%=%APPENGINE_JAVA_SDK_HOME%/lib/user/appengine-api-1.0-sdk-%APPENGINE_VERSION%.jar"

@echo **** Installing appengine-api-1.0-stubs-%APPENGINE_VERSION%.jar
@call mvn %I% "%G%=com.google.appengine" "%A%=appengine-api-1.0-stubs" "%V%=%APPENGINE_VERSION%" "%P%=jar" "%F%=%APPENGINE_JAVA_SDK_HOME%/lib/impl/appengine-api-stubs.jar"

@echo **** Installing appengine-api-1.0-runtime-%APPENGINE_VERSION%.jar
@call mvn %I% "%G%=com.google.appengine" "%A%=appengine-api-1.0-runtime" "%V%=%APPENGINE_VERSION%" "%P%=jar" "%F%=%APPENGINE_JAVA_SDK_HOME%/lib/impl/appengine-local-runtime.jar"

@echo **** Installing appengine-api-1.0-labs-%APPENGINE_VERSION%.jar
@call mvn %I% "%G%=com.google.appengine" "%A%=appengine-api-1.0-labs" "%V%=%APPENGINE_VERSION%" "%P%=jar" "%F%=%APPENGINE_JAVA_SDK_HOME%/lib/impl/appengine-api-labs.jar"

@echo **** Installing appengine-tools-sdk-%APPENGINE_VERSION%.jar
@call mvn %I% "%G%=com.google.appengine" "%A%=appengine-tools-sdk" "%V%=%APPENGINE_VERSION%" "%P%=jar" "%F%=%APPENGINE_JAVA_SDK_HOME%/lib/appengine-tools-api.jar"

@echo **** Installing appengine-tools-sdk-%APPENGINE_VERSION%.jar
@call mvn %I% "%G%=com.google.appengine" "%A%=appengine-testing" "%V%=%APPENGINE_VERSION%" "%P%=jar" "%F%=%APPENGINE_JAVA_SDK_HOME%/lib/testing/appengine-testing.jar"

@echo **** Installing datanucleus-appengine-%DATANUCLEUS_APPENGINE_VERSION%.jar
@call mvn %I% "%G%=com.google.appengine.orm" "%A%=datanucleus-appengine" "%V%=%DATANUCLEUS_APPENGINE_VERSION%" "%P%=jar" "%F%=%APPENGINE_JAVA_SDK_HOME%/lib/user/orm/datanucleus-appengine-%DATANUCLEUS_APPENGINE_VERSION%.jar"

@pause

